<template>
  <div>
    <h2>Right组件</h2>
    <p>{{age}}</p>
    <button @click="age++">+1</button>
  </div>
</template>

<script>
export default {
data () {
  return {
    age:20
  }
}
}
</script>

<style scoped>
div {
  min-height: 200px;
  background-color: greenyellow;
}
</style>